+Thu Apr 25 20:24:37 2002 Soeren Sandmann <sandmann@daimi.au.dk>
+
+ * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): use the child's
+ requisition.height, not allocation.height, as width of submenu
+ indicator. (#75948)
+
Thu Apr 25 00:26:34 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_reset_default_sort_func):
+Thu Apr 25 20:24:37 2002 Soeren Sandmann <sandmann@daimi.au.dk>
+
+ * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): use the child's
+ requisition.height, not allocation.height, as width of submenu
+ indicator. (#75948)
+
Thu Apr 25 00:26:34 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_reset_default_sort_func):
+Thu Apr 25 20:24:37 2002 Soeren Sandmann <sandmann@daimi.au.dk>
+
+ * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): use the child's
+ requisition.height, not allocation.height, as width of submenu
+ indicator. (#75948)
+
Thu Apr 25 00:26:34 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_reset_default_sort_func):
+Thu Apr 25 20:24:37 2002 Soeren Sandmann <sandmann@daimi.au.dk>
+
+ * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): use the child's
+ requisition.height, not allocation.height, as width of submenu
+ indicator. (#75948)
+
Thu Apr 25 00:26:34 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_reset_default_sort_func):
+Thu Apr 25 20:24:37 2002 Soeren Sandmann <sandmann@daimi.au.dk>
+
+ * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): use the child's
+ requisition.height, not allocation.height, as width of submenu
+ indicator. (#75948)
+
Thu Apr 25 00:26:34 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_reset_default_sort_func):
+Thu Apr 25 20:24:37 2002 Soeren Sandmann <sandmann@daimi.au.dk>
+
+ * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): use the child's
+ requisition.height, not allocation.height, as width of submenu
+ indicator. (#75948)
+
Thu Apr 25 00:26:34 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_reset_default_sort_func):
if (bin->child)
{
+ GtkRequisition child_requisition;
+
child_allocation.x = (GTK_CONTAINER (widget)->border_width +
widget->style->xthickness +
BORDER_SPACING);
child_allocation.width -= GTK_MENU_ITEM (widget)->toggle_size;
child_allocation.x += widget->allocation.x;
child_allocation.y += widget->allocation.y;
-
+
+ gtk_widget_get_child_requisition (bin->child, &child_requisition);
if (menu_item->submenu && menu_item->show_submenu_indicator)
- child_allocation.width -= child_allocation.height;
+ child_allocation.width -= child_requisition.height;
gtk_widget_size_allocate (bin->child, &child_allocation);
}